Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples by Samuel Urbanowicz
Author:Samuel Urbanowicz [Urbanowicz, Samuel]
Language: eng
Format: epub, pdf
Tags: COM051210 - COMPUTERS / Programming / Object Oriented, COM051000 - COMPUTERS / Programming / General, COM051280 - COMPUTERS / Programming Languages / Java
Publisher: Packt Publishing
Published: 2018-07-29T23:00:00+00:00
There's more...
In this recipe, we have created the Client class, which contains immutable val properties. In order to store mutable var properties, we can use a MutableMap instance instead of a read-only Map.
Built-in support for class properties is a powerful feature of the language. It brings awesome possibilities to shape your code in a neat way. You should definitely give it a try when working on a more complex project. For example, you can delegate the properties of your entities to be read and written directly to and from the database. There is also a group of ready-to-use delegates built into the standard library, such as the Lazy or Observable delegates. You can learn more about their application in the next recipes in this chapter. You can explore the full set of built-in delegates in the official standard library docs: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-delegates/index.html.
Download
Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples by Samuel Urbanowicz.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12957)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10403)
Hello! Python by Anthony Briggs(10201)
The Mikado Method by Ola Ellnestam Daniel Brolund(10108)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(10044)
Dependency Injection in .NET by Mark Seemann(9582)
Hit Refresh by Satya Nadella(9017)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8589)
The Kubernetes Operator Framework Book by Michael Dame(8387)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8188)
Robo-Advisor with Python by Aki Ranin(8147)
Practical Computer Architecture with Python and ARM by Alan Clements(8125)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(8106)
Building Low Latency Applications with C++ by Sourav Ghosh(7997)
Svelte with Test-Driven Development by Daniel Irvine(7994)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7969)
Grails in Action by Glen Smith Peter Ledbrook(7942)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7914)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7900)